import sys
try:
  s = raw_input('Enter something here:')
except EOFError:
  print '\nEOF meet.'
  sys.exit()
except:
  print '\nOther Error Occurs'
print '\nDone'